package cn.xawl.gulimall.auth.feign;

import cn.xawl.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lh
 * @create 2020-10-30 20:35
 **/
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeign {

    @GetMapping("/sms/sendcode")
    public R sendSms(@RequestParam String telephone, @RequestParam String code, @RequestParam String templateCode);
}
